//
//  FCSRPlaceholderView.h
//  FCBaseKit
//
//  Created by sobey on 2020/8/19.
//  Copyright © 2020 DengJie. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef void (^FCSRPlaceholderAction)(void);

@interface FCSRPlaceholderView : UIView

- (instancetype)initWithTips:(NSString *)tips refreshTips:(NSString *)refreshTips;

@property (nonatomic , copy) FCSRPlaceholderAction tapAction;

- (void)showError;

@property (nonatomic , copy) NSString *des;
@property (nonatomic , copy) NSString *error;


- (void)setTipTextColor:(UIColor *)textColor;
- (void)setRefreshTipTextColor:(UIColor *)textColor;
- (void)setupTapAction:(FCSRPlaceholderAction)action;

@end

NS_ASSUME_NONNULL_END
